<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

		<!-- topbar starts -->
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				<s:if test="#session.admin.logo==null || #session.admin.logo==''">
					<a class="brand" href="index"> <img alt="Charisma Logo" src="img/logo.png" /></a>
				</s:if>
				<s:else>
					<a class="brand" href="index"> <img alt="Charisma Logo" src="<s:property value="#session.admin.logo"/>" /></a>
				</s:else>
				<!-- user dropdown starts -->
				<div class="btn-group pull-right" >
					<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						<i class="icon-user"></i><span class="hidden-phone"><s:property value="#session.admin.name"/></span>
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu">
						<li><a href="index!logout">注销</a></li>
					</ul>
				</div>
				<!-- user dropdown ends -->

			</div>
		</div>
	</div>